package com.example.gitproject.Entity;

import lombok.Data;

@Data
public class Result {
    public Result(boolean flag, String msg, Object data) {
        this.flag = flag;
        this.msg = msg;
        this.data = data;
    }


    public static void main(String[] args) {
        new Result(true,"safuh");
    }


    public Result(boolean flag, String msg) {
        this.flag = flag;
        this.msg = msg;
    }


    private boolean flag;
    private String msg;
    private Object data;
}
